package org.dfzt.modules.online.cgform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

@TableName("onl_cgform_enhance_java")
public class OnlCgformEnhanceJava
        implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.UUID)
    private String id;
    private String cgformHeadId;
    private String buttonCode;

    public void setId(String id) {
        this.id = id;
    }

    private String cgJavaType;
    private String cgJavaValue;
    private String activeStatus;
    private String event;

    public void setCgformHeadId(String cgformHeadId) {
        this.cgformHeadId = cgformHeadId;
    }

    public void setButtonCode(String buttonCode) {
        this.buttonCode = buttonCode;
    }

    public void setCgJavaType(String cgJavaType) {
        this.cgJavaType = cgJavaType;
    }

    public void setCgJavaValue(String cgJavaValue) {
        this.cgJavaValue = cgJavaValue;
    }

    public void setActiveStatus(String activeStatus) {
        this.activeStatus = activeStatus;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof OnlCgformEnhanceJava)) return false;
        OnlCgformEnhanceJava onlCgformEnhanceJava = (OnlCgformEnhanceJava) o;
        if (!onlCgformEnhanceJava.canEqual(this)) return false;
        String str1 = getId(), str2 = onlCgformEnhanceJava.getId();
        if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false;
        String str3 = getCgformHeadId(), str4 = onlCgformEnhanceJava.getCgformHeadId();
        if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false;
        String str5 = getButtonCode(), str6 = onlCgformEnhanceJava.getButtonCode();
        if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false;
        String str7 = getCgJavaType(), str8 = onlCgformEnhanceJava.getCgJavaType();
        if ((str7 == null) ? (str8 != null) : !str7.equals(str8)) return false;
        String str9 = getCgJavaValue(), str10 = onlCgformEnhanceJava.getCgJavaValue();
        if ((str9 == null) ? (str10 != null) : !str9.equals(str10)) return false;
        String str11 = getActiveStatus(), str12 = onlCgformEnhanceJava.getActiveStatus();
        if ((str11 == null) ? (str12 != null) : !str11.equals(str12)) return false;
        String str13 = getEvent(), str14 = onlCgformEnhanceJava.getEvent();
        return !((str13 == null) ? (str14 != null) : !str13.equals(str14));
    }

    protected boolean canEqual(Object other) {
        return other instanceof OnlCgformEnhanceJava;
    }


    public String toString() {
        return "OnlCgformEnhanceJava(id=" + getId() + ", cgformHeadId=" + getCgformHeadId() + ", buttonCode=" + getButtonCode() + ", cgJavaType=" + getCgJavaType() + ", cgJavaValue=" + getCgJavaValue() + ", activeStatus=" + getActiveStatus() + ", event=" + getEvent() + ")";
    }


    public String getId() {
        return this.id;
    }

    public String getCgformHeadId() {
        return this.cgformHeadId;
    }

    public String getButtonCode() {
        return this.buttonCode;
    }

    public String getCgJavaType() {
        return this.cgJavaType;
    }

    public String getCgJavaValue() {
        return this.cgJavaValue;
    }

    public String getActiveStatus() {
        return this.activeStatus;
    }

    public String getEvent() {
        return this.event;
    }
}
